package com.gxa.service.investment;

import com.github.pagehelper.PageInfo;
import com.gxa.dto.investmentDto.IntentionAgreementDto;
import com.gxa.dto.investmentDto.IntentionAgreementResult;
import com.gxa.dto.investmentDto.IntentionRegisterQuitResult;
import com.gxa.entity.investment.IntentionAgreement;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gxa.entity.investment.IntentionRegister;
import com.gxa.mapper.investment.IntentionAgreementMapper;
import com.gxa.vo.investmentVo.IntentionAgreementVo;

import java.util.List;

/**
 * <p>
 * 意向协议单 服务类
 * </p>
 *
 * @author yjl
 * @since 2022-10-17 03:04:36
 */
public interface IntentionAgreementService extends IService<IntentionAgreement> {

    void add(IntentionAgreement intentionAgreement);

    //修改表的状态
    void updateToState(Integer id, Integer state);

    IntentionAgreementResult queryById(Integer id);
    List<IntentionAgreementResult> listAll ();
    PageInfo<IntentionAgreementResult> queryByIntentionAgreementDto (IntentionAgreementDto intentionAgreementDto, Integer pageNum, Integer pageSize);

    //页面里的详情
    IntentionAgreementVo queryById02 (Integer id);

    List<IntentionRegister> queryAll();
}
